//9.
#include<stdio.h>
int main()
{
	int x,y,z;
	for(x = 0;x <= 20;x++)
	{
		for(y = 0;y <= 33;y++)
		{
			z = 100 - x - y;
			if(z % 3 == 0)
				if(5 * x + 3 * y + z / 3 == 100)
					printf("鸡翁%d只，鸡母%d只，鸡雏%d只\n",x,y,z);
		}
	}
	return 0;
}
